package com.kaili.db.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.kaili.common.exception.BaseExcept;
import com.kaili.pojo.dto.dispatch.DispatchAddDTO;
import com.kaili.pojo.entity.HsEwbsDispatch;
import com.kaili.pojo.vo.DispatchRouteVO;
import com.kaili.pojo.vo.DispatchVO;
import com.kaili.pojo.vo.EwbDispatchVO;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cgm
 * @since 2018-05-08
 */
public interface IHsEwbsDispatchService extends IService<HsEwbsDispatch> {

    List<EwbDispatchVO> queryUndispatchEwbList(Map search) throws BaseExcept;

    Page<DispatchVO> queryDispatchEwbList(Page<DispatchVO> page, Map search) throws BaseExcept;

    List<EwbDispatchVO> getEwbInfoByDispatchNo(Map<String, Object> search)throws  BaseExcept;

    Map<String, String> addDispatchBS(DispatchAddDTO dispatchBean)throws BaseExcept;


    int deleteDispatchByEwbNo(String operationId)throws BaseExcept;

    List<DispatchVO> exportDispatchQueryList(Map map) throws BaseExcept;

    List<DispatchRouteVO> queryDispatchRouteList(Map map) throws BaseExcept;

    //打印用
    List<DispatchVO> queryArrivalNoList(Map map) throws BaseExcept;
}
